<nav role="navigation" class="navbar-default navbar-static-side">
        <div class="sidebar-collapse">
            <ul id="side-menu" class="nav metismenu">
                <li class="nav-header">
                    <div class="dropdown profile-element"> <span>
                            <img src="{$rs.shop_logo_image}" id="shoplogo" class="img-circle" alt="image" height="70px" width="70px">
                             </span>
                        <a href="javascript:;" class="dropdown-toggle">
                            <span class="clear">
                                <span class="block m-t-xs"> 
                                    <strong class="font-bold" id="shopname">
                                        {$rs.shop_name}
                                    </strong>
                                </span>
                                 <span class="text-muted text-xs block">
                                   
                                    <!--<b class="caret"></b>-->
                                </span> 
                            </span> 
                        </a>

                        <!--<ul class="dropdown-menu animated fadeInRight m-t-xs">
                            <li><a href="profile.html">Profile</a></li>
                            <li><a href="contacts.html">Contacts</a></li>
                            <li><a href="ddmssailbox.html">Mailbox</a></li>
                            <li class="divider"></li>
                            <li><a href="login.html">Logout</a></li><if condition="($ACTION_NAME eq 'Index') and ($CONTROLLER_NAME eq 'index')"> class="active"</if>
                        </ul>-->
                    </div>
					<div class="logo-element" style="text-align: center;">
                            <img src="<?php echo $shopinfo['shop_logo_image']; ?>" id="shoplogo2" class="img-circle" style="width: 45px;height: 45px;">
					</div>
                </li>
				<li <if condition="$CONTROLLER_NAME eq 'Index'"> class="active"</if>>
                    <a href="?s=Index"><i class="fa fa-home"></i> <span class="nav-label">首页</span><span class="label label-info pull-right"></span></a>
                </li>
				<li <if condition="($CONTROLLER_NAME eq 'Salespromotion') or ($CONTROLLER_NAME eq 'Jifenduihuan')"> class="active"</if>>
                    <a href="#"><i class="fa fa-gears"></i> <span class="nav-label">商家设置</span><span class="label label-info pull-right">NEW</span></a>
                    <ul class="nav nav-second-level collapse">
                        <li <if condition="($ACTION_NAME eq 'lists') and ($CONTROLLER_NAME eq 'Salespromotion')"> class="active"</if>>
                            <a href="{:U('Salespromotion/lists')}">促销信息</a>
                        </li>
                        <li <if condition="($ACTION_NAME eq 'lists') and ($CONTROLLER_NAME eq 'Jifenduihuan')"> class="active"</if>>
                            <a href="{:U('Jifenduihuan/lists')}">积分兑换</a>
                        </li>
                    </ul>
                </li>
	


				<li  <if condition="$CONTROLLER_NAME eq 'Member'"> class="active"</if>>
                    <a href="#"><i class="fa fa-money"></i> <span class="nav-label">会员卡专区</span><span class="label label-info pull-right">NEW</span></a>
                    <ul class="nav nav-second-level collapse <if condition="$CONTROLLER_NAME eq 'Member'"> in </if>">
              
						<li <if condition="($ACTION_NAME eq 'lists') and ($CONTROLLER_NAME eq 'Member')"> class="active"</if>><a href="?s=Member/lists">会员卡信息</a></li>
					<!--	<li <if condition="($ACTION_NAME eq 'recharge_record') and ($CONTROLLER_NAME eq 'Member')"> class="active"</if>><a href="?s=Member/recharge_record">充值记录</a></li>
						<li <if condition="($ACTION_NAME eq 'consum_record') and ($CONTROLLER_NAME eq 'Member')"> class="active"</if>><a href="?s=Member/consum_record">消费记录</a></li>-->
				
                    </ul>
                </li>
				<li <if condition="$CONTROLLER_NAME eq 'Coupon'"> class="active"</if>>
                    <a href="#"><i class="fa fa-money"></i> <span class="nav-label">优惠卡券</span><span class="label label-info pull-right">NEW</span></a>
                    <ul class="nav nav-second-level collapse <?php if(ROUTE_CONTROL=='wxCoupon') echo 'in';?>">
                        <li <if condition="($ACTION_NAME eq 'index') and ($CONTROLLER_NAME eq 'Coupon')"> class="active"</if>><a href="./shop.php?s=Coupon/index" id="wxCoupon_index">卡券管理</a></li>
<!-- 						<li <if condition="($ACTION_NAME eq 'check_ticket') and ($CONTROLLER_NAME eq 'Coupon')"> class="active"</if>><a href="./shop.php?s=Coupon/check_ticket">核销卡券</a></li>
						<li <if condition="($ACTION_NAME eq 'ling') and ($CONTROLLER_NAME eq 'Coupon')"> class="active"</if>><a href="./shop.php?s=Coupon/ling">卡券领取记录</a></li> -->
					
                    </ul>
                </li>

				<li <if condition="($ACTION_NAME eq 'changepwd') and ($CONTROLLER_NAME eq 'Member')"> class="active"</if>>
                    <a href="{:U('Public/changepwd')}"><i class="fa fa-unlock-alt"></i> <span class="nav-label">修改密码</span><span class="label label-info pull-right"></span></a>
                </li>
            </ul>

        </div>
    </nav>